
ul,li,dl,dt,dd{
    list-style: none;
}
button,select,textarea,input{
    border: none;
    outline: none;
    background: none;
}
em,i{
    font-style: normal;
}
img{
    vertical-align: middle;
}
.mb{
    margin-bottom: 1rem;
}
.ml{
    margin-left: 1rem;
}
.p1{
    padding: 0.8rem;
}
.bg-white{
    background: white;
}
.over{
    overflow: hidden;
    clear: both;
}
.fr{
    float: right;
}
.fl{
    float: left;
}
.tc{
    text-align: center;
}

/*red*/
@primary-red:#fd3d71;
@secondary-red:#ff7fa6;
@primary-warning:#fe706b;

/*gray*/
@primary-gray:#333333;
@secondary-gray:#666666;
@light-gray:#999999;
@background-gray:#f2f2f2;

/*green*/
@primary-green:#4fd2c2;

/*yellow*/
@primary-yellow:#fe9903;

/*purple*/
@primary-purple:#9999ff;

/*外层框架样式*/
.flex-main{
    // height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: @background-gray;
    .flex-top{
        // position: fixed;
        // top: 0;
        // width: 100%;
        // z-index: 33;
        flex: 0;
    }
    .flex-bottom{
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 1;
        height: 3rem;
    }
    .flex-body{
        flex:1;
        // overflow: scroll;
        margin-bottom: 3.4rem;
    }
}

.flex{
    display: flex;
    align-items: center;
}
.border-radius(@radius: 5px) {
    -webkit-border-radius: @radius;
    -moz-border-radius: @radius;
    border-radius: @radius;
  }
.box-shadow(@x:0px;@y:0px;@size:10px;@color:@background-gray) {
    box-shadow: @x @y @size @color;
}

/*popup宽度100%*/
.pickerWidth{
    width: 100%;
}

/*更多>*/
.m-more{
    position: relative;
    padding-right: 1.2rem;
    color: @secondary-gray;
    display: block;
    font-size: .9rem;
    &::after{
        position: absolute;
        display: inline-block;
        content: '';
        right: .6rem;
        top: 50%;
        width: .6rem;
        height: .6rem;
        border-right: 1px solid @secondary-gray;
        border-bottom: 1px solid @secondary-gray;
        transform: translateY(-50%) rotate(-45deg);
    }
}
/**背景遮罩层*/
.m-shadow{
    position: fixed;
    top: 0; bottom: 0;
    left: 0; right: 0;
    z-index: 2;
    background: rgba(0, 0, 0, .6)
}

/**底部按钮button*/
.m-bottom-btn{
    background: white;
    padding: .8rem;
    text-align: center;
    button{
        width: 90%;
        height: 2.2rem;
        background: @primary-red;
        color: white;
        .border-radius(6px);
        font-size: 1.1rem;
    }
}

/**表格样式*/
.m-form{
    margin: 0 1rem;
    .m-form-item{
        .flex;
        background: white;
        padding: 0 .8rem;
        height: 2.6rem;
        line-height: 2.6rem;
        .border-radius(6px);
        .m-form-tit{
            width: 4rem;
        }
        .m-form-ipt{
            flex:1;
            height: 2.4rem;
            line-height: 2.4rem;
        }
    }
}

/**mint-ui 样式重置*/
.mtSpinner{
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 88;
    transform: translate(-50%,-50%);
}

@font-face {
  font-family: 'iconfont';  /* project id 481494 */
  src: url('https://at.alicdn.com/t/font_481494_1n0qp0dsbcoez5mi.eot');
  src: url('https://at.alicdn.com/t/font_481494_1n0qp0dsbcoez5mi.eot?#iefix') format('embedded-opentype'),
  url('https://at.alicdn.com/t/font_481494_1n0qp0dsbcoez5mi.woff') format('woff'),
  url('https://at.alicdn.com/t/font_481494_1n0qp0dsbcoez5mi.ttf') format('truetype'),
  url('https://at.alicdn.com/t/font_481494_1n0qp0dsbcoez5mi.svg#iconfont') format('svg');
}
.iconfont {
	font-family: 'iconfont' !important;
	font-size: 16px;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-webkit-text-stroke-width: .2px;
	-moz-osx-font-smoothing: grayscale;
}



@media screen and (min-width: 320px) {
    html {font-size: 14px;}
}

@media screen and (min-width: 360px) {
    html {font-size: 16px;}
}

@media screen and (min-width: 400px) {
    html {font-size: 18px;}
}

@media screen and (min-width: 440px) {
    html {font-size: 20px;}
}

@media screen and (min-width: 480px) {
    html {font-size: 22px;}
}

@media screen and (min-width: 640px) {
    html {font-size: 28px;}
}
